<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script>
        // 1、SyntaxError 语法错误
        // let x = "Hello, world!'
        // console.log(x)

        // 2、ReferenceError 引用错误
        // console.log(y) 未声明变量

        // 3、TypeError 类型错误
        // const name = "Lydia"
        // console.log(name())
    </script>
</body>

</html>